package com.ddwl.schema.bo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/**
 * @Author hemiaojun
 * @Date 2021/9/7 17:56
 */
@ApiModel("优惠券发放bo")
@Getter
@Setter
public class IssueCouponBo {

    @NotEmpty(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private String userId;

    @NotEmpty(message = "优惠券id不能为空")
    @ApiModelProperty("优惠券id")
    private String couponId;

    @ApiModelProperty("发放数量")
    private Integer qty = 1;

}
